body {
  background: url("https://sakihomura.gitee.io/homura_s_blog/img/bgimg.jpg") no-repeat fixed top;
  background-size: cover;
}
.search {
  position: absolute;
  top: 250px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 40px;
  background: rgba(238, 238, 241, 0.72);
  border-radius: 5px;
}
.search #search_input {
  padding-left: 12px;
  width: 500px;
  height: 40px;
  background: none;
  border-radius: 5px;
  color: #555;
  font-size: 18px;
  transition: 0.1s;
}
.search #search_input:hover,
.search #search_input:focus {
  background: #eeeef1;
}
.search .search_button {
  position: absolute;
  right: 3px;
  top: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  outline: none;
}
.search .search_button::after {
  content: "\e900";
  font-family: "icomoon";
  font-size: 24px;
  cursor: pointer;
}
.bookmark {
  position: absolute;
  top: 315px;
  left: 50%;
  transform: translateX(-50%);
  width: 798px;
}
.bookmark li {
  position: relative;
  float: left;
  width: 150px;
  height: 150px;
  margin-top: 10px;
  margin-right: 12px;
  background-color: #eeeeee90;
}
.bookmark li a {
  display: block;
  width: 100%;
  height: 100%;
}
.bookmark li a span {
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
}
@media screen and (min-width: 1000px) {
  li:nth-child(5n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 1000px) and (min-width: 800px) {
  .bookmark {
    width: 636px;
  }
  .bookmark li:nth-child(4n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 800px) and (min-width: 600px) {
  .bookmark {
    width: 474px;
  }
  li:nth-child(3n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 600px) {
  body {
    background: url("https://sakihomura.gitee.io/homura_s_blog/img/phone_bgimg.jpg") no-repeat fixed top;
    background-size: cover;
    width: 100%;
    height: 100%;
  }
  .search {
    top: 8%;
    width: 80%;
  }
  .search #search_input {
    width: 100%;
  }
  .bookmark {
    width: 90%;
    top: 20%;
  }
  .bookmark ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .bookmark li {
    width: 100px;
    height: 100px;
    margin-right: 10px;
  }
  .bookmark li span {
    width: 90%;
    text-align: center;
  }
}
